package org.ctsi.rsds.pojo;

import java.util.Date;
import java.util.List;

import org.ctsi.rsds.base.dao.BasePOJO;

public class ResourceObj extends BasePOJO {
	
    private String id;
    private String projectId;
    private Date enableDate;
    private Date disableDate;
    private Date createDate;
    private Date updateDate;
    private Date removed;
    private String productId;
    private String resContainerId;
    private String resourceType;
    private String resourcePoolId;
    private String resourceStatus;
    private String resourceInstanceId;
    private String graphicInfo;
    private String specId;
    private String productComposeId;
    private String name;
    private Boolean enable = null;//为了解决资源对象补做成功，改成非删除状态

	private List<ResourceObj> subResourceObj; // ResourceObj -> sub ResourceObj (according to resource relation, it's maybe recursion)
	
	//vm
    private String cpu;
    private String ram;
    private String rootdisk;
    private String status;
    
 // volume
    private String volumeSize;
    private String isRoot;
    private String isShare;

    // network
    private String networkVlan;
    private String resourcePoolName;
    
    private String leaseType;
    
    private String chargePlanId;
    
    
	
    public String getResourcePoolName() {
		return resourcePoolName;
	}

	public void setResourcePoolName(String resourcePoolName) {
		this.resourcePoolName = resourcePoolName;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}
    
	public String getCpu() {
		return cpu;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public String getRam() {
		return ram;
	}

	public void setRam(String ram) {
		this.ram = ram;
	}

	public String getRootdisk() {
		return rootdisk;
	}

	public void setRootdisk(String rootdisk) {
		this.rootdisk = rootdisk;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}    
	
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Date getEnableDate() {
        return enableDate;
    }

    public void setEnableDate(Date enableDate) {
        this.enableDate = enableDate;
    }

    public Date getDisableDate() {
        return disableDate;
    }

    public void setDisableDate(Date disableDate) {
        this.disableDate = disableDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getResContainerId() {
        return resContainerId;
    }

    public void setResContainerId(String resContainerId) {
        this.resContainerId = resContainerId;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getResourcePoolId() {
        return resourcePoolId;
    }

    public void setResourcePoolId(String resourcePoolId) {
        this.resourcePoolId = resourcePoolId;
    }

    public String getResourceStatus() {
        return resourceStatus;
    }

    public void setResourceStatus(String resourceStatus) {
        this.resourceStatus = resourceStatus;
    }

    public String getResourceInstanceId() {
        return resourceInstanceId;
    }

    public void setResourceInstanceId(String resourceInstanceId) {
        this.resourceInstanceId = resourceInstanceId;
    }

    public String getGraphicInfo() {
        return graphicInfo;
    }

    public void setGraphicInfo(String graphicInfo) {
        this.graphicInfo = graphicInfo;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getProductComposeId() {
        return productComposeId;
    }

    public void setProductComposeId(String productComposeId) {
        this.productComposeId = productComposeId;
    }

    @Override
    public Date getRemoved() {
        return removed;
    }

    @Override
    public void setRemoved(Date removed) {
        this.removed = removed;
    }

    public List<ResourceObj> getSubResourceObj() {
        return subResourceObj;
    }

    public void setSubResourceObj(List<ResourceObj> subResourceObj) {
        this.subResourceObj = subResourceObj;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getVolumeSize() {
        return volumeSize;
    }

    public void setVolumeSize(String volumeSize) {
        this.volumeSize = volumeSize;
    }

    public String getIsRoot() {
        return isRoot;
    }

    public void setIsRoot(String isRoot) {
        this.isRoot = isRoot;
    }

    public String getIsShare() {
        return isShare;
    }

    public void setIsShare(String isShare) {
        this.isShare = isShare;
    }

    public String getNetworkVlan() {
        return networkVlan;
    }

    public void setNetworkVlan(String networkVlan) {
        this.networkVlan = networkVlan;
    }

    public String getLeaseType() {
		return leaseType;
	}

	public void setLeaseType(String leaseType) {
		this.leaseType = leaseType;
	}

	public String getChargePlanId() {
		return chargePlanId;
	}

	public void setChargePlanId(String chargePlanId) {
		this.chargePlanId = chargePlanId;
	}
}